package com.cqjtu.eecs.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cqjtu.eecs.entity.NaturalClass;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqjtu.eecs.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * <p>
 * 自然班 Mapper 接口
 * </p>
 *
 * @author
 * @since 2022-03-07
 */
@Mapper
@Repository
public interface NaturalClassMapper extends BaseMapper<NaturalClass> {
    List<NaturalClass> selectAllNaturalClass();
    List<NaturalClass> selectAllNaturalClassLimit(Integer currPage, Integer pageSize);
    List<NaturalClass> selectAllNaturalClassByGrade(Integer grade,Integer currPage, Integer pageSize);
    List<NaturalClass> selectAllNaturalClassByGradeAndmajorName(Integer grade, String majorCode, Integer currPage, Integer pageSize);
}
